<%@page import="org.springframework.web.context.request.SessionScope"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css"
	href="lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="skin/default/skin.css"
	id="skin" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>浏览记录</title>
</head>
<body>
	<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>
	用户管理 <span class="c-gray en">&gt;</span>车辆列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>

	<div class="page-container">
		<%-- <form action="<%=basePath %>BindAction.action" method="post"> --%>
		<form action="<%=basePath%>QueryBindAction.action" method="post"
			class="form form-horizontal">

			<div class="mt-50">
				<table
					class="table table-border table-bordered table-hover table-bg ">

					<thead>
						<tr class="text-c">
							<th width="80">序号</th>
							<th width="100">被监管车辆</th>
							<th width="100">车辆类型</th>
							<th width="100">车辆颜色</th>
							<th width="100">操作</th>
						</tr>
					</thead>

					<s:iterator value="#request.list" id="car" status="s">
						<tbody>
							<tr class="text-c">

								<td><s:property value="#s.index+1" /></td>
								<td><s:property value="#car.username" /></td>
								<td><s:property value="#car.type" /></td>
								<td><s:property value="#car.color" /></td>
								<td class="td-manage">
									<a style="text-decoration: none" class="btn btn-primary-outline radius" href="javascript:window.open('welcome1.jsp?username=${car.username}');void(0)"
									title="实时定位"><i class="Hui-iconfont">&#xe603;</i></a>
									<a style="text-decoration: none" class="btn btn-secondary-outline radius" href="javascript:window.open('fence-add.jsp?username=${car.username}');void(0)"
									title="添加电子围栏"><i class="Hui-iconfont">&#xe604;</i></a>
									<a style="text-decoration: none" class="btn btn-success-outline radius" href="javascript:window.open('trace-line.jsp?username=${car.username}');void(0)"
									title="历史轨迹"><i class="Hui-iconfont">&#xe695;</i></a>
									<a style="text-decoration: none" class="btn btn-warning-outline radius" href="javascript:window.open('member-update.jsp?username=${car.username}&type=${car.type }&color=${car.color }');void(0)" 
									title="修改车辆信息"><i class="Hui-iconfont">&#xe647;</i></a>
									<a style="text-decoration: none" class="btn btn-danger-outline radius" href="javascript:window.open('charts-1.jsp?username=${car.username}');void(0)" 
									title="行驶里程统计"><i class="Hui-iconfont">&#xe61e;</i></a>
							<%-- 		<a style="text-decoration: none" class="btn btn-danger-outline radius" href="javascript:window.open('alarm.jsp?username=${car.username}');void(0)" 
									title="报警记录查询"><i class="Hui-iconfont">&#xe61e;</i></a> --%>
								</td>
						</tbody>
					</s:iterator>

				</table>
			</div>
		</form>
	</div>

	<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="lib/layer/2.1/layer.js"></script>
	<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
	<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="js/H-ui.js"></script>
	<script type="text/javascript" src="js/H-ui.admin.js"></script>
</body>
</html>